﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharp.Libs.Media
{
    public class PictureObject
    {
        public PictureObject()
        {
            PictureObjectId = 0;
            BasePathId = 0;
            FullFileName = "";
            FileName = "";
            Path = "";
            Hash = "";
            Comment = "";
            Tags = new List<TagObject>();
        }
        public int PictureObjectId { get; set; }
        public int BasePathId { get; set; }
        public string FullFileName { get; set; }
        public string FileName { get; set; }
        public string Path { get; set; }
        public string Hash { get; set; }
        public string Comment { get; set; }
        public List<TagObject> Tags { get; set; }
    }
    public class PictureObjectWithoutConstructor
    {
        public int PictureObjectId { get; set; }
        public int BasePathId { get; set; }
        public string FullFileName { get; set; }
        public string FileName { get; set; }
        public string Path { get; set; }
        public string Hash { get; set; }
        public string Comment { get; set; }
        public Dictionary<int, string> Tags { get; set; }
    }



    public class TagObject
    {
        public TagObject()
        {
            TagId = -1;//Not in Database
            Tag = "";
        }
        public int TagId { get; set; }
        public string Tag { get; set; }
    }
}
